<template>
  <div class="loading">
    <img :src="loading1" />
  </div>
</template>

<script>
import loading from "@/assets/images/loading.gif";
export default {
  props: [],
  name: "loadingMask",
  data() {
    return {
      loading1: loading,
    };
  },
  mounted() {},
  methods: {},
};
</script>

<style scoped>
.loading {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  display: flex;
}
.loading img {
  height: 200px;
  display: block;
}
</style>